(function($) {
	'use strict';

	$(function() {
		var $fullText = $('.login-fullText');
		$('#login-fullscreen').on('click', function() {
			$.AMUI.fullscreen.toggle();
		});

		$(document).on($.AMUI.fullscreen.raw.fullscreenchange, function() {
			$fullText.text($.AMUI.fullscreen.isFullscreen ? '退出全屏' : '开启全屏');
		});
	});
  
})(jQuery);
